/*  
* Copyright (c) 2010, James Daniello
* This project is licensed under the 'New BSD' license.
* The full text of the license can be found in the root
* directory under the filename "LICENSE.
"
*/

package src.objects;

/**
* The parent class to call collision bounds
*/
public class PICAIUBounds{
  protected short type = 0; //type 0 means not yet assigned a type.
                  //type 1 is a rectangle
  protected int x=0,y=0;
  private boolean active=true;
  
  /**
  * Returns whether or not this object is currently active and 
  * needs to be compared against other bounds.
  */
  public boolean isActive(){
    return active;
  }
  
  /**
  * Set if this bounds is active
  */
  public void setActive(boolean setActive){
    active = setActive;
  }
  
  /**
  * Returns a short representing which type of bounds this is (e.g. type 0 is undefined, type 1
  * is a rectangle, etc..)
  */
  public short getType(){
    return type;
  }
  
  public int getHeight(){
    return 0;
  }
  
  public int getWidth(){
    return 0;
  }
  
  public int getX(){
    return x;
  }
  
  public int getY(){
    return y;
  }
  
  /**
  * Tests a point to see if it exists within this bound
  */
  public boolean testPoint(float x, float y){
    return false;
  }
  
}